/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dao;

import java.util.Date;



/**
 *
 * @author Romell
 */
public class MainClaz {
        public static void main(String[] args) {
                AlumnoDAO alumnoDAO = new AlumnoDAO();
                AlumnoBean alumnoBuscado = alumnoDAO.findAlumno("100455","41256493");
                alumnoBuscado.setRealizacion(new Date());
                alumnoDAO.update(alumnoBuscado);
                alumnoBuscado = alumnoDAO.findAlumno("100455","41256493");
                System.out.println("El alumno "+alumnoBuscado.getNombre()+"==>"+alumnoBuscado.getRealizacion());
        }
}